﻿using ITPaloozaPCL.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ITPaloozaPlatformSpecific.WinPhone8App.DataModels
{
    public class WinPhoneStock: IStock
    {
     #region Properties
        public string Symbol
        {
            get;
            set;
        }

        public decimal Open
        {
            get;
            set;
        }

        public decimal High
        {
            get;
            set;
        }

        public decimal Low
        {
            get;
            set;
        }

        public decimal Close
        {
            get;
            set;
        }

        public long Volume
        {
            get;
            set;
        }

        public DateTime Date
        {
            get;
            set;
        }
        #endregion 

        #region Ctors
        public WinPhoneStock()
        { }

        public WinPhoneStock(IStock inputValue)
        {
            this.Close = inputValue.Close;
            this.Date = inputValue.Date;
            this.High = inputValue.High;
            this.Low = inputValue.Low;
            this.Open = inputValue.Open;
            this.Symbol = inputValue.Symbol;
        }
        #endregion 
    }
}
